package com.plian.system.controller.fr.indicatorswarning;

import com.plian.Tools.base.BaseController;
import com.plian.Tools.pagedata.PageData;
import com.plian.system.model.ListResult;
import com.plian.system.service.fr.indicatorswarning.IndicatorsWarningService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "api/indicators_warning")
public class IndicatorsWarningController extends BaseController {
    @Autowired
    IndicatorsWarningService indicatorsWarningService;

    /*
        查询
         */
    @PostMapping(value = "/listPage")
    public ListResult listPage(@RequestBody PageData pd) throws Exception {
        return indicatorsWarningService.listPage(pd);
    }


}
